#ifndef READJOINTS_H
#define READJOINTS_H

#include <QObject>
#include <QHash>
#include <datajointgraph.h>

class ReadJoints : public QObject
{
    Q_OBJECT
public:
    explicit ReadJoints(QObject *parent = nullptr);
    static ReadJoints& getInstance();
    ~ReadJoints();
    /**
     * @brief ReadData
     * 读关节数据
     */
    void ReadData();
    /**
     * @brief ReadData
     * 写关节数据
     */
    void SetData();
    QHash<QString,JointBase*>& GetJointBaseParamsValue();

private:
    static ReadJoints *Instance;
    DataJointGraph m_DataJointGraph;
};
#endif // READJOINTS_H
